package com.woniu.mytest.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
/**
 * @description user
 * @author BEJSON
 * @date 2021-03-29
 */
@Data
@TableName("USER")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * name
     */
    private String name;

    /**
     * birthday
     */
    private Date birthday;

    /**
     * balance
     */
    private BigDecimal balance;

    public User() {}
}